﻿//using Prism.Navigation.Regions;

//namespace Common.CustomerRegionAdapters;

//public class AvalonDockingManagerRegionAdapter : RegionAdapterBase<DockingManager>
//{
//    public AvalonDockingManagerRegionAdapter(IRegionBehaviorFactory regionBehaviorFactory) : base(regionBehaviorFactory)
//    {
//    }

//    protected override void Adapt(IRegion region, DockingManager regionTarget)
//    {
//    }

//    protected override IRegion CreateRegion()
//    {
//        return new DockingManagerRegion();
//        //return new Region();
//    }

//    protected override void AttachBehaviors(IRegion region, DockingManager regionTarget)
//    {
//        if (region == null) throw new System.ArgumentNullException("region");
//        region.Behaviors.Add(DockingManagerBehavior.BehaviorKey, new DockingManagerBehavior() { HostControl = regionTarget });
//        base.AttachBehaviors(region, regionTarget);
//    }
//}
